// Script assets have changed for v2.3.0 see
// https://help.yoyogames.com/hc/en-us/articles/360005277377 for more information
function boom(enem){

if (point_distance(x,y,o_Hero.x,o_Hero.y)<150)
{
	with (instance_create_layer(x,y,"bullets",o_granade))
	{
		direction = point_direction(x,y,enem.x,enem.y)
	speed = 2;
	}
}
}
